package com.ruoyi.service.entity.item;

import com.ruoyi.service.domain.ServicePackages;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 耗材包对象 service_packages
 * 
 * @author ZDL
 * @date 2024-10-21
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PCPackagesVO {
    /**
     * 耗材id
     */
    private Long id;
    /**
     * 耗材解释，如自选耗材时，需要告知用户符合卫生规范，且需要上传附件等信息
     */
    private String pkgDesc = "耗材包需要符合卫生规范，且需要上传耗材证明附件";
    /**
     * 耗材名称
     */
    private String pkgName;
    /**
     * 耗材价格
     */
    private long pkgPrice;
    /**
     * 耗材数量
     */
    private Long pkgNum;

    private String pkgDetail = "";
    public PCPackagesVO(ServicePackages packages) {
        this.id = packages.getPackagesId();
        this.pkgName = packages.getPackagesName();
        this.pkgPrice = packages.getPackagesPrice();
    }

    public Long getid() { return id; }
    public void setid(Long value) { this.id = value; }

    public String getPkgDesc() { return pkgDesc; }
    public void setPkgDesc(String value) { this.pkgDesc = value; }

    public String getPkgName() { return pkgName; }
    public void setPkgName(String value) { this.pkgName = value; }

    public long getPkgPrice() { return pkgPrice; }
    public void setPkgPrice(long value) { this.pkgPrice = value; }
}
